import processing.core.PApplet;


public abstract class Node {
	//the processing sketch
	PApplet sketch;
	float[] position = new float[2]; //[x,y]
	float mass; //for dynamics
	int color = 0;
	
	public abstract void exertForce(float[] force);
	
	public float[] getPosition(){return position.clone();}
	
	public abstract float move();
	
	public abstract void dampen();
}
